package com.wt.admin.code.image;

import com.aizuda.easy.security.exp.IErrorCode;

public enum ImageClassification3100 implements IErrorCode {

    CODE_3100(3100, "分类名称不能为空"),
    CODE_3101(3101, "图片限制高度不能为空"),
    CODE_3102(3102, "图片限制宽度不能为空"),
    CODE_3103(3103, "id不能为空"),
    CODE_3104(3104, "有关联数据不能删除"),
    ;


    private Integer code;
    private String msg;

    ImageClassification3100(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}

